2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
authorCarsten Dominik <dominik@science.uva.nl>
Thu, 3 Sep 2009 07:19:15 +0000 (07:19 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Thu, 3 Sep 2009 07:19:15 +0000 (07:19 +0000)
* org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
referencing the start of the line.

lisp/org/org-agenda.el

index c776e33c38d166f7db5203989263bbf4f77f09bd..feea27dfb1e3c9bb6f46056dea88b804fd018306 100644 (file)
@@ -2573,7 +2573,9 @@ bind it in the options section.")
                                       :from 'todo
                                       :to 'done)))))))
            (if org-blocked-by-checkboxes (setq invis1 nil))
-           (setq b (if invis1 (max (point-min) (1- (point))) (point))
+           (setq b (if invis1
+                       (max (point-min) (1- (point-at-bol)))
+                     (point-at-bol))
                  e (point-at-eol)
                  ov (org-make-overlay b e))
            (if invis1